@import "./colors";
/* 用来覆写的样式表 */
html {
  font-size: 62.5%;
  .action-button {
    color: @main400;
    cursor: pointer;

    &:hover {
      color: @main500;
    }
  }
  .qr-code {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  ::-webkit-scrollbar {
    width: 1px;
    height: 1px;
  }

  ::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 5px rgba(@main200, 0.2);
    background: @main500;
  }

  ::-webkit-scrollbar-track {
    border-radius: 10px;
    background: transparent;
  }

  .ant-layout-content {
    height: calc(100vh);
    padding-top:52px;
    overflow: hidden;
    background-color: #f5f5f5;
  }

  .site-input-group-wrapper .site-input-split {
    background-color: #fff;
  }

  .site-input-group-wrapper .site-input-right {
    border-left-width: 0;
  }

  .site-input-group-wrapper .site-input-right:hover,
  .site-input-group-wrapper .site-input-right:focus {
    border-left-width: 1px;
  }

  .site-input-group-wrapper .ant-input-rtl.site-input-right {
    border-right-width: 0;
  }

  .site-input-group-wrapper .ant-input-rtl.site-input-right:hover,
  .site-input-group-wrapper .ant-input-rtl.site-input-right:focus {
    border-right-width: 1px;
  }

  .col-space {
    width: 100%;

    .ant-space-item:nth-child(1), .ant-space-item:nth-child(2) {
      width: 50% !important;
    }

    .ant-space-item:nth-child(3) {
      width: auto !important;
    }
  }

  .w100 {
    width: 100%;

    .ant-space-item {
      width: 100%;
    }
  }

  .butler-search {
    .table-search .ant-input-search {
      float: right;
    }
  }

  .butler-keys {
    height: 120px;
    width: 100%;
    border-radius: 4px;
    border: 1px solid @splitColor;
    padding: 10px;
    overflow: auto;
  }

  .ant-badge-status-processing {
    background-color: @main500;

    &:after {
      border: 1px solid @main500;
    }
  }

  .mr5 {
    margin-right: 5px;
  }

  .ml5 {
    margin-left: 5px;
  }

  .ml10 {
    margin-left: 10px;
  }

  .ml15 {
    margin-left: 15px;
  }

  .ml20 {
    margin-left: 20px;
  }

  .mt10 {
    margin-top: 10px;
  }

  .mt20 {
    margin-top: 2rem;
  }

  .bg-white {
    background-color: #ffffff;
  }

  .text-center {
    text-align: center;
  }

  .m-auto {
    margin: 0 auto;
  }

  .bg-main {
    background-color: @main500;
  }

  .text-main {
    color: @main500;
  }

  .f16 {
    font-size: 1.6rem;
  }
}

.rest {
  height: calc(100vh);

  .dynamic-delete-button {
    margin-left: 5px;
  }

  .xjh-dashboard {
    .shadowGray();
    background-color: #FFFFFF;
    height: calc(100vh - 48px);
    overflow: hidden;
    margin: 24px;
    border-radius: 4px;
  }

  .ant-image-mask-info {
    text-align: center;
  }

  .kaptcha-image {
    width: 100%;
    display: inline-block;
    height: 100%;
    margin-top: -4px;
  }

  .ant-badge-status-processing::after {
    border: 1px solid @main500 !important;
  }

  [data-theme='compact'] .site-collapse-custom-collapse .site-collapse-custom-panel,
  .site-collapse-custom-collapse .site-collapse-custom-panel {
    margin-bottom: 24px;
    overflow: hidden;
    background: #f7f7f7;
    border: 0px;
    border-radius: 2px;
  }



  .cls-1, .cls-2, .cls-3 {
    fill: @main500;
    stroke: @main500;
  }

  .cls-1 {
    stroke-miterlimit: 10;
  }

  .cls-2 {
    stroke-width: 0.09px;
  }

  .cls-3 {
    stroke-width: 0.04px;
  }

  .logo-shrink {
    padding: 4px !important;
  }
}
